package com.ruoyi.system.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.Category;
import com.ruoyi.system.domain.dto.CategoryLevelDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 类别映射器
 *
 * @author Administrator
 * @Entity io.renren.modules.category.entity.Category
 * @date 2023/03/03
 */
@Mapper
public interface CategoryMapper extends BaseMapperPlus<CategoryMapper, Category, Category> {

    /**
     * 被孩子水平阵列信息id
     *
     * @param category 类别
     * @return {@link CategoryLevelDTO}
     */
    CategoryLevelDTO getLevelArrayInfoByChildrenId(@Param("category") Long category);
}




